import { lazy } from "react"
const Dashoard:React.LazyExoticComponent<() => JSX.Element>=lazy(()=>import("../views/info/Dashoard"));
const UserView:React.LazyExoticComponent<() => JSX.Element>=lazy(()=>import("../views/sys/user/UserView"));
const RoleView:React.LazyExoticComponent<() => JSX.Element>=lazy(()=>import("../views/sys/role/RoleView"));
const AuthsView:React.LazyExoticComponent<() => JSX.Element>=lazy(()=>import("../views/sys/auths/AuthsView"));
const FilmList:React.LazyExoticComponent<() => JSX.Element>=lazy(()=>import("../views/film/list/listView"));
const CreateFilm:React.LazyExoticComponent<() => JSX.Element>=lazy(()=>import("../views/film/create/CreateFilm"));
export default [
    {
        path:"/info/dashoard",
        name:"dashoard",
        element:<Dashoard/>
    },
    {
        path:"/sys/user",
        name:"userlist",
        element:<UserView/>
    },
    {
        path:"/sys/role",
        name:"rolelist",
        element:<RoleView/>
    },
     {
        path:"/sys/auths",
        name:"authslist",
        element:<AuthsView/>
    },
    {
        path:"/film/list",
        name:"filmlist",
        element:<FilmList/>
    },
     {
        path:"/film/create",
        name:"filmcreate",
        element:<CreateFilm/>
    }
]
